package com.neu.beilian.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 陈鲲鹏
 * @since 2025-05-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user")
@ApiModel(value="User对象", description="")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "国家码")
    private String countrycode;

    @ApiModelProperty(value = "电话号码")
    private String phone;

    @ApiModelProperty(value = "登录密码")
    private String password;

    @ApiModelProperty(value = "邮箱地址")
    private String email;

    @ApiModelProperty(value = "用户ID")
    private String did;

    @ApiModelProperty(value = "账号系统中的用户ID")
    private String userid;

    @ApiModelProperty(value = "用户昵称：可能为空")
    private String nickname;

    @ApiModelProperty(value = "公司ID")
    private String companyid;

    @ApiModelProperty(value = "本次登录sessionid")
    private String loginsession;

    @ApiModelProperty(value = "所属部门ID")
    private String orgdid;

    @ApiModelProperty(value = "0-在职 1-离职  2-访客")
    private Long staffstatus;


}
